package cn.mugutu.finance.vo;

import java.util.HashSet;
import java.util.Set;

/**
 * UserFrom 用来接收新增或者修改的时候前台传递的参数信息
 * @author ganbo
 * 2016年6月28日 下午3:14:09
 */
public class UserAddReqVO {
	
	private Long id;
	private String username;
	private String realname;
	private Long departmentId;
	private Set<Long> roleIds = new HashSet<>(); //用户的角色id,分割roleIdsStr得到
	
	public void setId(Long id) {
		this.id = id;
	}
	public Long getId() {
		return id;
	}
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public String getRealname() {
		return realname;
	}
	public void setRealname(String realname) {
		this.realname = realname;
	}
	public Long getDepartmentId() {
		return departmentId;
	}
	public void setDepartmentId(Long departmentId) {
		this.departmentId = departmentId;
	}
	public Set<Long> getRoleIds() {
		return roleIds;
	}
	public void setRoleIds(Set<Long> roleIds) {
		this.roleIds = roleIds;
	}
	
}
